.class public Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/util/OrmmaNetworkBroadcastReceiver;
.super Landroid/content/BroadcastReceiver;
.source "OrmmaNetworkBroadcastReceiver.java"


# instance fields
.field private final mOrmmaNetworkController:Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/OrmmaNetworkController;


# direct methods
.method public constructor <init>(Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/OrmmaNetworkController;)V
    .locals 0
    .parameter "ormmaNetworkController"

    .prologue
    .line 32
    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    .line 33
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/util/OrmmaNetworkBroadcastReceiver;->mOrmmaNetworkController:Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/OrmmaNetworkController;

    .line 34
    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 2
    .parameter "context"
    .parameter "intent"

    .prologue
    .line 38
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    .line 39
    .local v0, action:Ljava/lang/String;
    const-string v1, "android.net.conn.CONNECTIVITY_CHANGE"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 40
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/util/OrmmaNetworkBroadcastReceiver;->mOrmmaNetworkController:Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/OrmmaNetworkController;

    invoke-virtual {v1}, Lcom/burstly/lib/component/networkcomponent/burstly/html/ormma/OrmmaNetworkController;->onConnectionChanged()V

    .line 42
    :cond_0
    return-void
.end method
